home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 June: Reference Library / Dev.CD Jun 95 / Dev.CD Jun 95.toast / What's New? / New System Software Extensions / QuickDraw 3D ß / Programming / SampleCode / Modeller ƒ / Modeller_cursor.c < prev    next >
Encoding:
Text File  |  1995-03-06  |  599 b   |  40 lines  |  [TEXT/MPS ]

  1. //
  2. //
  3. //        cursor.c
  4. //
  5. //        Cursor handling routines.
  6. //        
  7. //
  8. //        Author:        Rob Johnston
  9. //        Date:        Friday, Janurary 17, 1992
  10. //
  11. //        Copyright © 1992-94 Apple Computer, Inc., All Rights Reserved
  12. //
  13.  
  14. #include "Modeller_globals.h"
  15. #include "Modeller_prototypes.h"
  16. #include "Modeller_resources.h"
  17.  
  18. #include "QD3DView.h"
  19. #include "QD3DDrawContext.h"
  20. #include "QD3DPick.h"
  21.  
  22. #include "Modeller_cursor.h"
  23.  
  24.  
  25.  
  26. void AdjustCursor(Point theLoc, RgnHandle theRgn)
  27. {
  28.     // do nothing for now
  29. }
  30.  
  31.  
  32. void GetGlobalMouse(Point *theLoc)
  33.  
  34. {    EventRecord        theEvent;
  35.     
  36.     OSEventAvail(0, &theEvent);
  37.     *theLoc = theEvent.where;
  38. }
  39.  
  40.